/*
    index.html对应的css样式
*/
/*
    容器设置
 */
.wrapper{
    width: 100%;
    height: 100%;
}
/*
    header部分
*/
.wrapper header{
    width: 100%;
    height: 12vw;
    background-color: #0097FF;
    display: flex; /*设置弹性盒子*/
    align-items: center;
}
.wrapper header .icon-location-box{
    width: 3.5vw;
    height: 3.5vw;
    margin-left: 3vw;
    margin-right: 1vw; /*宽度的1%*/
}
.wrapper header .location-text{
    font-size: 4.5vw;
    color: white;
    font-weight: bold;
}
.wrapper header .location-text i.fa-caret-down{
    margin-left: 1vw;
}
/*
    search部分
*/
.wrapper .search{
    width: 100%;
    height: 13vw;
}
.wrapper .search .search-fixed-top{
    width: 100%;
    height: 13vw;
    background-color: #0097FF;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrapper .search .search-fixed-top .search-box{
    width: 90%;
    height: 9vw;
    background-color: white;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.5vw;
    color: #aeaeae;
    user-select: none;
    font-family: "宋体";
}
.wrapper .search .search-fixed-top .search-box i.fa-search{
    margin-right: 1vw;
}

/*
    点餐部分
*/
.wrapper .foodtype{
    width: 100%;
    height: 48vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
.wrapper .foodtype li{
    width: 18vw;
    height: 20vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.wrapper .foodtype li img{
    width: 12vw;
    height: 10vw;
}
.wrapper .foodtype li p{
    font-size: 3vw;
    color: #666;
    font-family: "隶书";
}

/*
    广告
 */
.wrapper .banner{
    width: 95%;
    height: 29vw;
    background-image: url("../img/index_banner.png");
    margin: 0 auto;
    background-size: cover;
    /*padding-top: 2vw;*/
    /*padding-left: 6vw;*/
    padding: 2vw 6vw;
    box-sizing: border-box;/*只要给容器添加padding样式，必须使用box-sizing*/
}
.wrapper .banner h3{
    font-size: 4.2vw;
    margin-bottom: 1.2vw;
}
.wrapper .banner p{
    font-size: 3.4vw;
    color: #666666;
    margin-bottom: 2.4vw;
}
.wrapper .banner a{
    font-size: 3vw;
    color: goldenrod;
    font-weight: bold;
}
/*
        会员
 */
.wrapper .supermember{
    width: 95%;
    height: 11.5vw;
    margin: 0 auto;
    background-color: #feedc1;
    border-radius: 2px;
    margin-top: 1.3vw;
    color: #644f1b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wrapper .supermember .left{
    display: flex;
    align-items: center;
    margin-left: 4vw;
    user-select: none;
}
.wrapper .supermember .left img{
    width: 6vw;
    height: 6vw;
    margin-right: 2vw;
}
.wrapper .supermember .left h3{
    font-size: 4vw;
    margin-right: 2vw;
}
.wrapper .supermember .left p{
    font-size: 3vw;
}
.wrapper .supermember .right{
    font-size: 3vw;
    margin-right: 4vw;
    cursor: pointer;/*只有pc端可用*/
}
/*
    推荐商家
 */
.wrapper .recommend{
    width: 100%;
    height: 14vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrapper .recommend .recommend-line{
    width: 6vw;
    height: 0.2vw;
    background-color: #888;
}
.wrapper .recommend p{
    font-size: 4vw;
    margin: 0 4vw;
}

/*
    推荐方式
 */
.wrapper .recommendtype{
    width: 100%;
    height: 5vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 5vw;
}
.wrapper .recommendtype li{
    font-size: 3vw;
    color: #555;
}
.wrapper .recommendtype li i.fa{
    margin-left: 1vw;
}
/*
    推荐商家列表
 */
.wrapper .business{
    width: 100%;
    margin-bottom: 14vw;
}
.wrapper .business li{
    width: 100%;
    padding: 2.5vw;
    box-sizing: border-box;
    display: flex;
    user-select: none;
    border-bottom: 1px solid #ddd;
}






